import type { IPageQuery } from '@/api/types';

// 查询条件
export type DtuInfoQuery = IPageQuery & {
    dtuNumber?: string;
    name?: string;
    sort?: number;
    iccid?: string;
    ledid?: string;
    bindToken?: string;
    dtuStatus?: string;
    bindTimeStart?: string;
    bindTimeEnd?: string;
    expireTimeStart?: string;
    expireTimeEnd?: string;
    vehicleId?: number;
    port?: number;
};

// 编辑form表单
export type DtuInfoForm = {
    id?: string;
    dtuNumber?: string;
    name?: string;
    sort?: number;
    iccid?: string;
    ledid?: string;
    bindToken?: string;
    dtuStatus?: string;
    bindTime?: string;
    expireTime?: string;
    vehicleId?: number;
    port?: number;
};

// list或detail返回结构
export type DtuInfoRow = {
    id?: string;
    dtuNumber?: string;
    name?: string;
    sort?: number;
    iccid?: string;
    ledid?: string;
    bindToken?: string;
    dtuStatus?: string;
    bindTime?: string;
    expireTime?: string;
    createTime?: string;
    updateTime?: string;
    createId?: number;
    updateId?: number;
    vehicleId?: number;
    port?: number;
};